Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and refactor mesh generation #10

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alexfikl
Copy link
Contributor

@alexfikl alexfikl commented Apr 9, 2024

This does some work around the mesh generation modules (commits should be fairly self contained):

  • Update the CMakeLists.txt for contrib/meshgen11_dealii to mainly follow https://pybind11.readthedocs.io/en/stable/cmake/index.html. This also removed the vendored pybind11 module.
  • Builds the dealii module on the CI so that tests can generate meshes.
  • Moves the boxtree based classes in volumential/meshgen.py to a separate meshgen_boxtree.py file. The logic in meshgen.py was made very confusing by defining classes in the try.. except, so hopefully this is better.

There's still a contrib/meshgen_dealii folder. Can that be deleted?

@alexfikl alexfikl marked this pull request as draft April 9, 2024 18:49
@alexfikl alexfikl force-pushed the refactor-meshgen branch 2 times, most recently from 82349fa to 5ea7f08 Compare April 9, 2024 20:08
@alexfikl alexfikl marked this pull request as ready for review April 9, 2024 20:12
@alexfikl
Copy link
Contributor Author

alexfikl commented Apr 9, 2024

This seems to work as expected, i.e. it builds the meshgen11_dealii module correctly on the CI and the tests now fail due to some other issues:
https://github.com/xywei/volumential/actions/runs/8621637135/job/23630966693?pr=10

@alexfikl
Copy link
Contributor Author

@xywei This should be good for a look when you have the time! It's also just a cleanup / modernize PR with no new functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant